package datastructures;

import java.util.HashMap;


public class CityData {
	HashMap<String, Koordinate> coords = new HashMap<String, Koordinate>();
	
	public CityData() {
		coords.put("kiel", new Koordinate(3, 0));
		coords.put("luebeck", new Koordinate(4, 0));
		coords.put("bremen", new Koordinate(0, 1));
		coords.put("hamburg", new Koordinate(3, 1));
		coords.put("berlin", new Koordinate(5, 1));
		coords.put("bonn", new Koordinate(0, 2));
		coords.put("hannover", new Koordinate(3, 2));
		coords.put("frankfurt", new Koordinate(2, 3));
		coords.put("leipzig", new Koordinate(4, 3));
		coords.put("dresden", new Koordinate(5, 4));
		coords.put("stuttgart", new Koordinate(2, 5));
		coords.put("muenchen", new Koordinate(4, 4));
		
	}
	
	public Koordinate getData(String cityName) {
		return coords.get(cityName);
		
	}
	

}
